﻿namespace Vboot.Core.Module.Sys;

[SugarTable("sys_portal_role", TableDescription = "门户角色表")]
[Description("门户角色表")]
public class SysPortalRole : BaseMainEntity
{
    [SugarColumn(ColumnDescription = "分类", IsNullable = true, Length = 32)]
    public string type { get; set; }

    [SugarColumn(ColumnDescription = "标签", IsNullable = true, Length = 32)]
    public string label { get; set; }
    
    [SugarColumn(ColumnDescription = "门户ID", IsNullable = true, Length = 32)]
    public string porid { get; set; }

    [SugarColumn(ColumnDescription = "排序号", IsNullable = true)]
    public int ornum { get; set; }

    [SugarColumn(IsIgnore = true)] public List<SysPortalMenu> menus { get; set; }

    [SugarColumn(IsIgnore = true)] public List<SysOrg> orgs { get; set; }
}